package com.nit.lab.dto.system;

public class TokenDTO {

    private Long accountId;
    private Long unitId;
    private Long unitFather;
    private Long unitType;

    public TokenDTO() {
    }

    public TokenDTO(Long accountId, Long unitId, Long unitFather, Long unitType) {
        this.accountId = accountId;
        this.unitId = unitId;
        this.unitFather = unitFather;
        this.unitType = unitType;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public Long getUnitFather() {
        return unitFather;
    }

    public void setUnitFather(Long unitFather) {
        this.unitFather = unitFather;
    }

    public Long getUnitType() {
        return unitType;
    }

    public void setUnitType(Long unitType) {
        this.unitType = unitType;
    }

    @Override
    public String toString() {
        return "{" +
                "accountId:" + accountId +
                ", unitId:" + unitId +
                ", unitFather:" + unitFather +
                ", unitType:" + unitType +
                '}';
    }
}
